home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: FW_CSharedLibraryResourceFile
- Sent: 6/3/96 7:03 AM
- Received: 6/3/96 7:58 AM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >If I allocate a FW_CSharedLibraryResourceFile with the constructor that
- >just passes the Environment* parameter, is that guaranteed to open access
- >to the part editor's shared library?
- >
- >That piece of info was missing from ODF Assistant in QuickView.
- >
- >I need to know this because I'm writing a general utility routine for
- >"CustomGetFolder", and I need acces to my part editor's resource fork,
- >hopefully without passing an FW_Instance parameter all over the place.
- >
- >Thanks,
- >
- >Brad
-
- Yes it will give you access to your part resource fork. If you look at
- the code for the constructor of FW_CSharedLibraryResourceFile you'll see
- that it uses FW_gInstance. Because this code is statically linked to your
- part, FW_gInstance is your part instance.
-
- ......................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ......................................................................
-
-